home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1160_editing_RTFD_file_packages.rtf < prev    next >
Text File  |  1995-06-12  |  3KB  |  55 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Ohlfs;}
  2. \paperw11440
  3. \paperh8340
  4. \margl120
  5. \margr120
  6. {\colortbl;\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc0\cf0 Q:  I see that in Release 2 some of the documentation is in a format which has an .rtfd extension.  What is this file type?  How can I create one?   \
  8.  
  9. \i     \
  10.  
  11. \i0 A:  The .rtfd extension is a file type introduced in Release 2 that takes advantage of a feature of the Text object supporting embedded graphics.  An RTFD document is formatted as a file package which contains an .rtf file and any associated graphics that will be rendered in the document when opened by the Edit.app.\
  12. \
  13. You can easily create an RTFD document in Release 2 and later by dragging a PostScript or TIFF file into an RTF Edit window.  The graphic is be automatically imaged (similar to the way Mail does this).  When the file is saved to disk it is be saved as an RTFD document.  (However, see the bug warning below.)\
  14. \
  15. Note:  To convert a window to RTF in the Edit.app, choose Make Rich Text from the Text submenu of the Format menu (Command R).\
  16. \
  17. Note: Trying to open a RTFD file under Release 1.0 causes the directory to be opened as a normal directory under the Browser.  This displays the component RTF and PostScript files.  The 1.0 Edit application may be used to open and read the RTF file; however, the graphics directives are ignored.  These graphics directives appear wherever a graphic should be inserted and have the format "
  18. \i graphicname
  19. \i0 >".  (However, see the bug warning below.)\
  20. \
  21. \
  22. Q:  How can I copy a graphic from an RTFD document and paste it into another document?\
  23. \
  24. A:  NeXT has reworked the RTFD format for Release 3.  In Release 2 it is not possible to copy the PostScript to the pasteboard by selecting the graphic and choosing Cop"  from the Edit menu.   \
  25. \
  26. Under Release 2 the easiest way to copy a graphic is to:\
  27. \
  28.  
  29. \fi-980\li980 a)    In the Workspace, open the file as a folder and copy using the File Viewer or\
  30. b)    Use the Terminal application to copy the graphic to a new directory.  (This circumvents the file package filter in the Workspace.)\
  31.   \
  32.  
  33. \fi0\li0 The file may then be imported into the desired application as any other PostScript file.\
  34. \
  35. Under Release 3 you can just copy the graphic to the pasteboard.\
  36. \
  37.  
  38. \b Bug Warnings:
  39. \b0   \
  40. The following bugs apply only to Release 2 systems:\
  41. \
  42.  
  43. \fi-980\li980 •    There is a known bug in Release 2 which occurs when the name of an image has a space in it—the  image displays itself correctly when you drop the icon in the window;  however, if you save the document and attempt to reopen it, the image does not display.  To prevent this bug, never drag in a graphic that has a space in its name.\
  44. \
  45. •    There is a known bug in Release 2 which occurs if you delete a graphic from an RTFD document, the corresponding graphic file isn't deleted from the file package.   In the Workspace Manager, use the Open as Folder command to view the file package, and delete the corresponding TIFF or EPS file.\
  46. \
  47. •    There is a known bug in Release 2 which occurs if you use the Save As command to overwrite another RTFD document.  What occurs is that you get the original file package included as a subdirectory of the new one.  Find and delete this subdirectory, as in the previous paragraph.\
  48.  
  49. \fi0\li0 \
  50. Valid for 2.0, 3.0, 3.1\
  51. \
  52. QA614                \
  53. \
  54.  
  55.